package de.islanders.unit;

import de.islanders.world.Position;

public abstract class Unit {
	private String name;
	private double scale;
	private Position position;
	
	/**
	 * @param name Name of the unit.
	 */
	public Unit(String name, double scale, Position position) {
		this.name = name;
		this.scale = scale;
		this.position = position;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the size
	 */
	public double getScale() {
		return scale;
	}

	/**
	 * @param size the size to set
	 */
	public void setScale(double scale) {
		this.scale = scale;
	}

	/**
	 * @return the position
	 */
	public Position getPosition() {
		return position;
	}

	/**
	 * @param position the position to set
	 */
	public void setPosition(Position position) {
		this.position = position;
	}
	
	
}
